#ifndef SCHEDULER_H
#define SCHEDULER_H

#include "World.h"
#include "GameEvent.h"
#include "EventList.h"

class Scheduler
{
public:
	Scheduler();
	virtual ~Scheduler();

	void AddEvent(GameObject* receiver, GameEvent* gameEvent);

	void Simulate(World* world);

protected:
private:
	EventList scheduledEvents;
};

#endif //SCHEDULER_H
